<%@include file="init.jsp" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <%@include file="head.jsp" %>
    </head>
    <body>
        <div id="page">
            <%@include file="menu.jsp" %>

            <div id="main-content">
                <h3>Modificar combate</h3>
                <html:form action="ActualizarCombate.do" method="POST">
                    <div>
                        <span>Combate: </span><span><bean:write name="CombatesForm" property="combate.nombreBoxeador1"/> vs <bean:write name="CombatesForm" property="combate.nombreBoxeador2"/></span>
                    </div>
                    <div>
                        <span>Estadio: </span><span><bean:write name="CombatesForm" property="combate.estadio"/></span>
                    </div>
                    <div>
                        <span>Fecha: </span><span><bean:write name="CombatesForm" property="combate.fecha"/></span>
                    </div>
                    <div>
                        Ganador:<br/>
                        <html:radio property="radio" value="${CombatesForm.combate.idBoxeador1}"/>
                        <span>Boxeador 1: </span><span><bean:write name="CombatesForm" property="combate.nombreBoxeador1"/></span>
                    </div>
                    <div>
                        <html:radio property="radio" value="${CombatesForm.combate.idBoxeador2}"/>
                        <span>Boxeador 2: </span><span><bean:write name="CombatesForm" property="combate.nombreBoxeador2"/></span>
                    </div>

                    <html:submit value="Actualizar" />
                </html:form>
            </div>
        </div>
    </body>
</html>
